{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>url标签</title>
    <link rel="stylesheet" href="{% static 'css/index.css' %}">
    <style>
        a {
            text-decoration: none;
            cursor: pointer;
        }

        .main a:nth-of-type(2) {
            font: normal 20px Arial;
            color: orange;
        }

        a:hover {
            color: red;
        }

    </style>
</head>
<body>
<div class="main">
    <a href="{% url 'home:baidu' %}">百度</a><br>
    <a href="{% url 'book:book_detail' book_id=2 %}">图书详情</a>
</div>

</body>
</html>